/*************************************************************************
*
*     Module           : lmx3162_freqs
*     Full Module Name : LMX3162 frequency table
*     Model Name       : radio
*     Project          : habanero
*     Designer(s)      : Darren Bowler dbowler@ssd.ie
*     Current Version  : 1.7
*     Current date     : 99/07/07
*     Compiler         : GCC Version xxx 
*
*     Description      : This file give a table converting a hop frequency
*     number to the register settings for the LMX3162
*
**************************************************************************
*
*            Copyright (c) 1999-2004 Ceva Inc.
*
* This code is confidential and proprietary product of SSL.
* Any unauthorized use, reproduction or transfer of this 
* code is strictly prohibited.
*
************************************************************************/

/* These tables convert the standard frequency numbers into values to be loaded
**   				into the LMX3162.
** IF HOP23 is defined then the standard frequency numbers range from 0 to 22.
** IF HOP23 is undefined then the standard frequency numbers range from 0 to 78.
*/


/*************************
** Transmit Frequencies **
*************************/

#ifndef HOP23
  const u_int32 freq2regvalue_tx [] = { /*      Channel       LMX3162 Register       */
    0x04B08,                  /*          0        [00000 1001011 000010 00] */
    0x04B0C,                  /*          1        [00000 1001011 000011 00] */
    0x04B10,                  /*          2        [00000 1001011 000100 00] */
    0x04B14,                  /*          3        [00000 1001011 000101 00] */
    0x04B18,                  /*          4        [00000 1001011 000110 00] */
    0x04B1C,                  /*          5        [00000 1001011 000111 00] */
    0x04B20,                  /*          6        [00000 1001011 001000 00] */
    0x04B24,                  /*          7        [00000 1001011 001001 00] */
    0x04B28,                  /*          8        [00000 1001011 001010 00] */
    0x04B2C,                  /*          9        [00000 1001011 001011 00] */
    0x04B30,                  /*         10        [00000 1001011 001100 00] */
    0x04B34,                  /*         11        [00000 1001011 001101 00] */
    0x04B38,                  /*         12        [00000 1001011 001110 00] */
    0x04B3C,                  /*         13        [00000 1001011 001111 00] */
    0x04B40,                  /*         14        [00000 1001011 010000 00] */
    0x04B44,                  /*         15        [00000 1001011 010001 00] */
    0x04B48,                  /*         16        [00000 1001011 010010 00] */
    0x04B4C,                  /*         17        [00000 1001011 010011 00] */
    0x04B50,                  /*         18        [00000 1001011 010100 00] */
    0x04B54,                  /*         19        [00000 1001011 010101 00] */
    0x04B58,                  /*         20        [00000 1001011 010110 00] */
    0x04B5C,                  /*         21        [00000 1001011 010111 00] */
    0x04B60,                  /*         22        [00000 1001011 011000 00] */
    0x04B64,                  /*         23        [00000 1001011 011001 00] */
    0x04B68,                  /*         24        [00000 1001011 011010 00] */
    0x04B6C,                  /*         25        [00000 1001011 011011 00] */
    0x04B70,                  /*         26        [00000 1001011 011100 00] */
    0x04B74,                  /*         27        [00000 1001011 011101 00] */
    0x04B78,                  /*         28        [00000 1001011 011110 00] */
    0x04B7C,                  /*         29        [00000 1001011 011111 00] */
    0x04C00,                  /*         30        [00000 1001100 000000 00] */
    0x04C04,                  /*         31        [00000 1001100 000001 00] */
    0x04C08,                  /*         32        [00000 1001100 000010 00] */
    0x04C0C,                  /*         33        [00000 1001100 000011 00] */
    0x04C10,                  /*         34        [00000 1001100 000100 00] */
    0x04C14,                  /*         35        [00000 1001100 000101 00] */
    0x04C18,                  /*         36        [00000 1001100 000110 00] */
    0x04C1C,                  /*         37        [00000 1001100 000111 00] */
    0x04C20,                  /*         38        [00000 1001100 001000 00] */
    0x04C24,                  /*         39        [00000 1001100 001001 00] */
    0x04C28,                  /*         40        [00000 1001100 001010 00] */
    0x04C2C,                  /*         41        [00000 1001100 001011 00] */
    0x04C30,                  /*         42        [00000 1001100 001100 00] */
    0x04C34,                  /*         43        [00000 1001100 001101 00] */
    0x04C38,                  /*         44        [00000 1001100 001110 00] */
    0x04C3C,                  /*         45        [00000 1001100 001111 00] */
    0x04C40,                  /*         46        [00000 1001100 010000 00] */
    0x04C44,                  /*         47        [00000 1001100 010001 00] */
    0x04C48,                  /*         48        [00000 1001100 010010 00] */
    0x04C4C,                  /*         49        [00000 1001100 010011 00] */
    0x04C50,                  /*         50        [00000 1001100 010100 00] */
    0x04C54,                  /*         51        [00000 1001100 010101 00] */
    0x04C58,                  /*         52        [00000 1001100 010110 00] */
    0x04C5C,                  /*         53        [00000 1001100 010111 00] */
    0x04C60,                  /*         54        [00000 1001100 011000 00] */
    0x04C64,                  /*         55        [00000 1001100 011001 00] */
    0x04C68,                  /*         56        [00000 1001100 011010 00] */
    0x04C6C,                  /*         57        [00000 1001100 011011 00] */
    0x04C70,                  /*         58        [00000 1001100 011100 00] */
    0x04C74,                  /*         59        [00000 1001100 011101 00] */
    0x04C78,                  /*         60        [00000 1001100 011110 00] */
    0x04C7C,                  /*         61        [00000 1001100 011111 00] */
    0x04D00,                  /*         62        [00000 1001101 000000 00] */
    0x04D04,                  /*         63        [00000 1001101 000001 00] */
    0x04D08,                  /*         64        [00000 1001101 000010 00] */
    0x04D0C,                  /*         65        [00000 1001101 000011 00] */
    0x04D10,                  /*         66        [00000 1001101 000100 00] */
    0x04D14,                  /*         67        [00000 1001101 000101 00] */
    0x04D18,                  /*         68        [00000 1001101 000110 00] */
    0x04D1C,                  /*         69        [00000 1001101 000111 00] */
    0x04D20,                  /*         70        [00000 1001101 001000 00] */
    0x04D24,                  /*         71        [00000 1001101 001001 00] */
    0x04D28,                  /*         72        [00000 1001101 001010 00] */
    0x04D2C,                  /*         73        [00000 1001101 001011 00] */
    0x04D30,                  /*         74        [00000 1001101 001100 00] */
    0x04D34,                  /*         75        [00000 1001101 001101 00] */
    0x04D38,                  /*         76        [00000 1001101 001110 00] */
    0x04D3C,                  /*         77        [00000 1001101 001111 00] */
    0x04D40                   /*         78        [00000 1001101 010000 00] */
  };
#else
  const u_int32 freq2regvalue_tx [] = { /*      Channel       LMX3162 Register      */
    0x04D24,                  /*          0        [00000 1001101 001001 00] */
    0x04D28,                  /*          1        [00000 1001101 001010 00] */
    0x04D2C,                  /*          2        [00000 1001101 001011 00] */
    0x04D30,                  /*          3        [00000 1001101 001100 00] */
    0x04D34,                  /*          4        [00000 1001101 001101 00] */
    0x04D38,                  /*          5        [00000 1001101 001110 00] */
    0x04D3C,                  /*          6        [00000 1001101 001111 00] */
    0x04D40,                  /*          7        [00000 1001101 010000 00] */
    0x04D44,                  /*          8        [00000 1001101 010001 00] */
    0x04D48,                  /*          9        [00000 1001101 010010 00] */
    0x04D4C,                  /*         10        [00000 1001101 010011 00] */
    0x04D50,                  /*         11        [00000 1001101 010100 00] */
    0x04D54,                  /*         12        [00000 1001101 010101 00] */
    0x04D58,                  /*         13        [00000 1001101 010110 00] */
    0x04D5C,                  /*         14        [00000 1001101 010111 00] */
    0x04D60,                  /*         15        [00000 1001101 011000 00] */
    0x04D64,                  /*         16        [00000 1001101 011001 00] */
    0x04D68,                  /*         17        [00000 1001101 011010 00] */
    0x04D6C,                  /*         18        [00000 1001101 011011 00] */
    0x04D70,                  /*         19        [00000 1001101 011100 00] */
    0x04D74,                  /*         20        [00000 1001101 011101 00] */
    0x04D78,                  /*         21        [00000 1001101 011110 00] */
    0x04D7C                   /*         22        [00000 1001101 011111 00] */
  };
#endif


/*************************
** Receive Frequencies  **
*************************/

#ifndef HOP23
  const u_int32 freq2regvalue_rx [] = { /*      Channel       LMX3162 Register       */
    0x04750,                  /*          0        [00000 1000111 010100 00] */
    0x04754,                  /*          1        [00000 1000111 010101 00] */
    0x04758,                  /*          2        [00000 1000111 010110 00] */
    0x0475C,                  /*          3        [00000 1000111 010111 00] */
    0x04760,                  /*          4        [00000 1000111 011000 00] */
    0x04764,                  /*          5        [00000 1000111 011001 00] */
    0x04768,                  /*          6        [00000 1000111 011010 00] */
    0x0476C,                  /*          7        [00000 1000111 011011 00] */
    0x04770,                  /*          8        [00000 1000111 011100 00] */
    0x04774,                  /*          9        [00000 1000111 011101 00] */
    0x04778,                  /*         10        [00000 1000111 011110 00] */
    0x0477C,                  /*         11        [00000 1000111 011111 00] */
    0x04800,                  /*         12        [00000 1001000 000000 00] */
    0x04804,                  /*         13        [00000 1001000 000001 00] */
    0x04808,                  /*         14        [00000 1001000 000010 00] */
    0x0480C,                  /*         15        [00000 1001000 000011 00] */
    0x04810,                  /*         16        [00000 1001000 000100 00] */
    0x04814,                  /*         17        [00000 1001000 000101 00] */
    0x04818,                  /*         18        [00000 1001000 000110 00] */
    0x0481C,                  /*         19        [00000 1001000 000111 00] */
    0x04820,                  /*         20        [00000 1001000 001000 00] */
    0x04824,                  /*         21        [00000 1001000 001001 00] */
    0x04828,                  /*         22        [00000 1001000 001010 00] */
    0x0482C,                  /*         23        [00000 1001000 001011 00] */
    0x04830,                  /*         24        [00000 1001000 001100 00] */
    0x04834,                  /*         25        [00000 1001000 001101 00] */
    0x04838,                  /*         26        [00000 1001000 001110 00] */
    0x0483C,                  /*         27        [00000 1001000 001111 00] */
    0x04840,                  /*         28        [00000 1001000 010000 00] */
    0x04844,                  /*         29        [00000 1001000 010001 00] */
    0x04848,                  /*         30        [00000 1001000 010010 00] */
    0x0484C,                  /*         31        [00000 1001000 010011 00] */
    0x04850,                  /*         32        [00000 1001000 010100 00] */
    0x04854,                  /*         33        [00000 1001000 010101 00] */
    0x04858,                  /*         34        [00000 1001000 010110 00] */
    0x0485C,                  /*         35        [00000 1001000 010111 00] */
    0x04860,                  /*         36        [00000 1001000 011000 00] */
    0x04864,                  /*         37        [00000 1001000 011001 00] */
    0x04868,                  /*         38        [00000 1001000 011010 00] */
    0x0486C,                  /*         39        [00000 1001000 011011 00] */
    0x04870,                  /*         40        [00000 1001000 011100 00] */
    0x04874,                  /*         41        [00000 1001000 011101 00] */
    0x04878,                  /*         42        [00000 1001000 011110 00] */
    0x0487C,                  /*         43        [00000 1001000 011111 00] */
    0x04900,                  /*         44        [00000 1001001 000000 00] */
    0x04904,                  /*         45        [00000 1001001 000001 00] */
    0x04908,                  /*         46        [00000 1001001 000010 00] */
    0x0490C,                  /*         47        [00000 1001001 000011 00] */
    0x04910,                  /*         48        [00000 1001001 000100 00] */
    0x04914,                  /*         49        [00000 1001001 000101 00] */
    0x04918,                  /*         50        [00000 1001001 000110 00] */
    0x0491C,                  /*         51        [00000 1001001 000111 00] */
    0x04920,                  /*         52        [00000 1001001 001000 00] */
    0x04924,                  /*         53        [00000 1001001 001001 00] */
    0x04928,                  /*         54        [00000 1001001 001010 00] */
    0x0492C,                  /*         55        [00000 1001001 001011 00] */
    0x04930,                  /*         56        [00000 1001001 001100 00] */
    0x04934,                  /*         57        [00000 1001001 001101 00] */
    0x04938,                  /*         58        [00000 1001001 001110 00] */
    0x0493C,                  /*         59        [00000 1001001 001111 00] */
    0x04940,                  /*         60        [00000 1001001 010000 00] */
    0x04944,                  /*         61        [00000 1001001 010001 00] */
    0x04948,                  /*         62        [00000 1001001 010010 00] */
    0x0494C,                  /*         63        [00000 1001001 010011 00] */
    0x04950,                  /*         64        [00000 1001001 010100 00] */
    0x04954,                  /*         65        [00000 1001001 010101 00] */
    0x04958,                  /*         66        [00000 1001001 010110 00] */
    0x0495C,                  /*         67        [00000 1001001 010111 00] */
    0x04960,                  /*         68        [00000 1001001 011000 00] */
    0x04964,                  /*         69        [00000 1001001 011001 00] */
    0x04968,                  /*         70        [00000 1001001 011010 00] */
    0x0496C,                  /*         71        [00000 1001001 011011 00] */
    0x04970,                  /*         72        [00000 1001001 011100 00] */
    0x04974,                  /*         73        [00000 1001001 011101 00] */
    0x04978,                  /*         74        [00000 1001001 011110 00] */
    0x0497C,                  /*         75        [00000 1001001 011111 00] */
    0x04A00,                  /*         76        [00000 1001010 000000 00] */
    0x04A04,                  /*         77        [00000 1001010 000001 00] */
    0x04A08                   /*         78        [00000 1001010 000010 00] */
  };
#else
  const u_int32 freq2regvalue_rx [] = { /*      Channel       LMX3162 Register      */
    0x0496C,                  /*          0        [00000 1001001 011011 00] */
    0x04970,                  /*          1        [00000 1001001 011100 00] */
    0x04974,                  /*          2        [00000 1001001 011101 00] */
    0x04978,                  /*          3        [00000 1001001 011110 00] */
    0x0497C,                  /*          4        [00000 1001001 011111 00] */
    0x04A00,                  /*          5        [00000 1001010 000000 00] */
    0x04A04,                  /*          6        [00000 1001010 000001 00] */
    0x04A08,                  /*          7        [00000 1001010 000010 00] */
    0x04A0C,                  /*          8        [00000 1001010 000011 00] */
    0x04A10,                  /*          9        [00000 1001010 000100 00] */
    0x04A14,                  /*         10        [00000 1001010 000101 00] */
    0x04A18,                  /*         11        [00000 1001010 000110 00] */
    0x04A1C,                  /*         12        [00000 1001010 000111 00] */
    0x04A20,                  /*         13        [00000 1001010 001000 00] */
    0x04A24,                  /*         14        [00000 1001010 001001 00] */
    0x04A28,                  /*         15        [00000 1001010 001010 00] */
    0x04A2C,                  /*         16        [00000 1001010 001011 00] */
    0x04A30,                  /*         17        [00000 1001010 001100 00] */
    0x04A34,                  /*         18        [00000 1001010 001101 00] */
    0x04A38,                  /*         19        [00000 1001010 001110 00] */
    0x04A3C,                  /*         20        [00000 1001010 001111 00] */
    0x04A40,                  /*         21        [00000 1001010 010000 00] */
    0x04A44                   /*         22        [00000 1001010 010001 00] */
  };
#endif
